package com.example.lib_common.http

open class BaseRequestCallback<T>(
    var onStart: () -> Unit = {},
    var onFailToast: (() -> Boolean) = { false },
    var onFailed: (suspend (ReactiveHttpException) -> Unit)? = null,
    var onCancelled: (() -> Unit)? = null,
    var onFinally: () -> Unit = {},
    var onSuccess: (suspend (T?) -> Unit)? = null
)

